home *** CD-ROM | disk | FTP | other *** search
- Seumas @ Dark Unicorn Productions wrote:
-
- > Help.
- > Amos is screweing me out of memory. I've got a huge program, 340 k of
- > source at 7,400 lines. Whenever I add a few lines of code, usualy using a
- > few If/else/endif blocks or a few while wends, I get an Out Of Buffer Space
- > error when I test the program, and I have to add to the Set Buffer command.
- > But NOW my set buffer command is at 70 k!!! When I put a Print Free in the
- > middle of my program, it says there's almost 50 k of UNUSED buffer!!! What's
- > wrong with Amos here? Why does it think I need more buffer than I do??
- > (And no, I don't use HUGe strings, and no, the Print Free was AFTER all the
- > big Arrays are dimensioned.)
-
- AMOS works with two buffers:
-
- - The first one is used for variables, like arrays and so on. If you
- run the program and AMOS answers you "Out of variable space" you
- must increase this buffer with the command "Set Buffer" in your
- first line of the code.
-
- - The second one is used for the program itself as text. If you have a
- huge program and you can't add more lines, you must increase the Text
- Buffer size. You can do this with a special menu option (called "Set
- Text Buffer"). If you usually work with huge programs I recommend you
- to increase this buffer in your configuration. This is the buffer that
- you have to increase.
-
- I hope this helps
-
- ===============================================================================
- _/_/_/ _/ _/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/
- Angel Alvarez _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
- (Aldi Soft) _/_/_/ _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ _/
- angel@labein.es _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
- _/ _/ _/_/_/ _/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/
- ===============================================================================
- | Note: Aldi Soft isn't a software company. It's me. |
- ======================================================
-
-